package mapper;

import org.apache.ibatis.annotations.Mapper;
import model.Book;

@Mapper
public interface BookMapper {
	Book[] findAll();
	Book[] search(String name);
	Book find(String id);
	String findLastId();
	void insert(Book obj);
	void update(Book obj);
	void delete(String id);
}
